home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Highspeed pascal.adf
/
Interface
/
Audio.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-01-16
|
897b
|
50 lines
Unit Audio;
Interface
Uses Exec;
Type
tIOAudio = Record
ioa_Request: tIORequest;
ioa_AllocKey: Integer;
ioa_Data: pShortInt;
ioa_Length: LongInt;
ioa_Period: Integer;
ioa_Volume: Integer;
ioa_Cycles: Integer;
ioa_WriteMsg: tMessage;
End;
Const
ADCMD_PERVOL = $C;
ADIOB_NOWAIT = $6;
ADALLOC_MINPREC = $FFFFFF80;
ADCMD_WAITCYCLE = $E;
ADIOF_NOWAIT = $40;
ADALLOC_MAXPREC = $7F;
ADIOB_PERVOL = $4;
ADCMD_ALLOCATE = $20;
ADIOF_PERVOL = $10;
ADIOB_SYNCCYCLE = $5;
ADCMD_FREE = $9;
ADIOF_SYNCCYCLE = $20;
ADCMD_LOCK = $D;
ADIOB_WRITEMESSAGE = $7;
ADIOF_WRITEMESSAGE = $80;
AUDIONAME = 'audio.device';
ADCMD_SETPREC = $A;
ADIOERR_CHANNELSTOLEN = $FFFFFFF4;
ADCMDB_NOUNIT = $5;
ADCMDF_NOUNIT = $20;
ADCMD_FINISH = $B;
ADIOERR_ALLOCFAILED = $FFFFFFF5;
ADHARD_CHANNELS = $4;
ADIOERR_NOALLOCATION = $FFFFFFF6;
End.